package com.xuecheng.api.file;

import com.xuecheng.framework.domain.filesystem.response.UploadFileResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.multipart.MultipartFile;

import java.util.Map;

@Api(description = "系统文件上传统一接口")
public interface FileUploadControllerApi {
    @ApiOperation("文件上传")
    UploadFileResult fileUpload(
            MultipartFile file,
            String userId,
            //业务key
            String businesskey,
            //业务标签
            String filetag,
            //文件元信息
            String metadata
    );

}
